{// 引入标签库 }

<tagLib name="fanwe" />

<include file="Public:header" />

<div id="main" class="main" >

<div class="content">

<div class="title">{$Think.lang.ADD_DATA} [ <a href="{:u($module_name.'/index')}">{$Think.lang.BACK_LIST}</a> ]</div>

<div id="result" class="result none"></div>

<form method='post' id="form" name="form" action="{:u('GoodsCate/insert')}"  enctype="multipart/form-data">

<table cellpadding=0 cellspacing=0 class="dataEdit" >

<tr>

	<td class="tRight" width="120">{$Think.lang.CATE_NAME}：</td>

	<td class="tLeft" >

		<fanwe:textbox name="name" class="bLeftRequire" />

        <input type="hidden" name="pid" value="0" />

	</td>

</tr>

<tr>
	<td class="tRight" >分类：</td>
	<td class="tLeft" >
		<select name="pid">
			<option value="0">顶级分类</option>
			<foreach name="cate_list" item="cate_item">
				<option value="{$cate_item.id}">{$cate_item.name}</option>
			</foreach>
		</select>
	</td>
</tr>

<tr>

	<td class="tRight" >{$Think.lang.SORT}：</td>

	<td class="tLeft" >

		<input type="text" name="sort" class="bLeft" value="{$new_sort}" />

	</td>

</tr>

<tr>

	<td class="tRight" >默认分类：</td>

	<td class="tLeft" >

		<input type="checkbox" name="is_default" value="1" />&nbsp;

		如果自动查询中没有找到相关的分类，将使用默认分类作为团购分类．

	</td>

</tr>

<tr>

	<td class="tRight" >关键字：</td>

	<td class="tLeft" >

		<textarea name="keywords" style="width:80%; height:80px;"></textarea><br/>

		自动查询分类关键字，以,号分隔，为空则不加入到自动查询列表中．

	</td>

</tr>

<tr>

	<td>&nbsp;</td>

	<td class="center"><div style="width:85%;margin:5px">

	<input type="hidden" name="status" value="1" />

	<input type="submit" value="{$Think.lang.SAVE_DATA}"  class="button small"> <input type="reset" class="button small" onclick="resetEditor()" value="{$Think.lang.RESET_DATA}" > 

	</div></td>

</tr>



</table>

</form>

</div>

</div>

